package cn.wbnyua.msm.web.dao;

import cn.wbnyua.msm.web.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 作者：wbnyua.
 * 创建时间: 2023/2/9 14:27.
 */

@Mapper
public interface SysUserMapper {

    @Select("select * from sys_user where account = #{account} and `password` = #{password}")
    SysUser findByAccountAndPwd(SysUser user);


}
